package client.messages.commands;

import client.MapleClient;
import constants.ServerConstants.CommandType;

public abstract class CommandExecute {
    public abstract boolean execute(MapleClient p0, String[] p1);

    public CommandType getType() {
        return CommandType.NORMAL;
    }

    public abstract String getMessage();

    enum ReturnValue {
        DONT_LOG,
        LOG;
    }

    public abstract static class TradeExecute extends CommandExecute {
        @Override
        public CommandType getType() {
            return CommandType.TRADE;
        }
    }
}
